<?php

declare(strict_types=1);

return [
    'temp' => [
        'credentials' => [
            'key' => env('S3_KEY_TEMP'),
            'secret' => env('S3_SECRET_TEMP'),
        ],
        'region' => env('S3_REGION_TEMP'),
        'version' => env('S3_VERSION_TEMP', 'latest'),
        'use_path_style_endpoint' => (bool)env('S3_USE_PATH_STYLE_ENDPOINT_TEMP', false), // aliyun oss 不需要启用
        'endpoint' => env('S3_ENDPOINT_TEMP'),
        'bucket_name' => env('S3_BUCKET_TEMP'),
    ],
    'tts' => [
        'credentials' => [
            'key' => env('S3_KEY_TTS'),
            'secret' => env('S3_SECRET_TTS'),
        ],
        'region' => env('S3_REGION_TTS'),
        'version' => env('S3_VERSION_TTS', 'latest'),
        'use_path_style_endpoint' => (bool)env('S3_USE_PATH_STYLE_ENDPOINT_TTS', false), // aliyun oss 不需要启用
        'endpoint' => env('S3_ENDPOINT_TTS'),
        'bucket_name' => env('S3_BUCKET_TTS'),
    ],
];
